using System.Web; 
using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;
namespace IWeb_Core_Connector
{
    public class IWebAuthendication  
    { 
        
        public static IWeb_Core_Connector.IWebservice.IWebAuthendicationHeader AttachCredentials() 
        { 
            IWeb_Core_Connector.IWebservice.IWebAuthendicationHeader IWebAuthendicationHeader = new IWeb_Core_Connector.IWebservice.IWebAuthendicationHeader(); 
            
            IWebAuthendicationHeader.PortalID = System.Convert.ToInt32( double.Parse( IWeb_Core_Connector.IWeb_Form.TransDefaultFormIWeb_Form.txtPortal.Text ) ); 
            IWebAuthendicationHeader.Username = IWeb_Core_Connector.IWeb_Form.TransDefaultFormIWeb_Form.txtUsername.Text; 
            IWebAuthendicationHeader.Password = IWeb_Core_Connector.IWeb_Form.TransDefaultFormIWeb_Form.Password; 
            IWebAuthendicationHeader.Encrypted = System.Convert.ToString( IWeb_Core_Connector.IWeb_Form.TransDefaultFormIWeb_Form.chkEncrypted.Checked ); 
            
            return IWebAuthendicationHeader; 
        } 
        
    } 
    
} 
